//全局配置的数据
let { NODE_ENV } = process.env;
let dcImgPath = NODE_ENV === "development" ? "/dc.png" : "/data/dc.png";
export const config = {
  jsonInfo: "请输入JSON格式的数据",
  input: "请输入",
  select: "请选择",
  time: "请选择",
  startTime: "开始时间",
  endTime: "结束时间",
  selTime: "选择时间",
  to: "至",
  labelStyle: { width: "100px", "text-align": "left", color: "#555" },
  contentStyle: { "text-align": "right", display: "inline-block", color: "#333" },
  inputRule: [{ required: true, message: "请输入", trigger: "blur" }],
  selectRule: [{ required: true, message: "请选择", trigger: "blur" }],
  inputRuleHandle: (trigger = "change") => {
    return [{ required: true, message: "请输入", trigger }];
  },
  selectRuleHandle: (trigger = "change") => {
    return [{ required: true, message: "请选择", trigger }];
  },
  //
  dcImg:
    "",
};
